package com.pid.system.domain;

import com.pid.common.annotation.Excel;
import com.pid.common.core.domain.BaseEntity;
import org.apache.commons.lang3.builder.ToStringBuilder;
import org.apache.commons.lang3.builder.ToStringStyle;

/**
 * 客户对象 sys_customer
 * 
 * @author pid
 * @date 2021-11-16
 */
public class SysCustomer extends BaseEntity
{
    private static final long serialVersionUID = 1L;

    /** ID */
    private Long customerId;

    /** 单位名称 */
    @Excel(name = "单位名称")
    private String unitName;

    /** 单位地址 */
    @Excel(name = "单位地址")
    private String unitAddress;

    /** 信用代码 */
    @Excel(name = "信用代码")
    private String creditCode;

    /** 开户行 */
    @Excel(name = "开户行")
    private String bankInfo;

    /** 银行账号 */
    @Excel(name = "银行账号")
    private String bankAccount;

    /** 联系人 */
    @Excel(name = "联系人")
    private String contactUser;

    /** 联系电话 */
    @Excel(name = "联系电话")
    private String contactNumber;

    /** 邮箱 */
    @Excel(name = "邮箱")
    private String email;

    /** 微信号 */
    @Excel(name = "微信号")
    private String weixin;

    /** 职务 */
    @Excel(name = "职务")
    private String post;

    /** 是否冻结（0正常 1停用） */
    @Excel(name = "是否冻结", readConverterExp = "0=正常,1=停用")
    private String status;

    /** 删除标志（0代表存在 2代表删除） */
    private String delFlag;

    public void setCustomerId(Long customerId) 
    {
        this.customerId = customerId;
    }

    public Long getCustomerId() 
    {
        return customerId;
    }
    public void setUnitName(String unitName) 
    {
        this.unitName = unitName;
    }

    public String getUnitName() 
    {
        return unitName;
    }
    public void setUnitAddress(String unitAddress) 
    {
        this.unitAddress = unitAddress;
    }

    public String getUnitAddress() 
    {
        return unitAddress;
    }
    public void setCreditCode(String creditCode) 
    {
        this.creditCode = creditCode;
    }

    public String getCreditCode() 
    {
        return creditCode;
    }
    public void setBankInfo(String bankInfo)
    {
        this.bankInfo = bankInfo;
    }

    public String getBankInfo()
    {
        return bankInfo;
    }
    public void setBankAccount(String bankAccount)
    {
        this.bankAccount = bankAccount;
    }

    public String getBankAccount()
    {
        return bankAccount;
    }
    public void setContactUser(String contactUser) 
    {
        this.contactUser = contactUser;
    }

    public String getContactUser() 
    {
        return contactUser;
    }
    public void setContactNumber(String contactNumber) 
    {
        this.contactNumber = contactNumber;
    }

    public String getContactNumber() 
    {
        return contactNumber;
    }
    public void setEmail(String email) 
    {
        this.email = email;
    }

    public String getEmail() 
    {
        return email;
    }
    public void setWeixin(String weixin) 
    {
        this.weixin = weixin;
    }

    public String getWeixin() 
    {
        return weixin;
    }
    public void setPost(String post) 
    {
        this.post = post;
    }

    public String getPost() 
    {
        return post;
    }
    public void setStatus(String status) 
    {
        this.status = status;
    }

    public String getStatus() 
    {
        return status;
    }
    public void setDelFlag(String delFlag) 
    {
        this.delFlag = delFlag;
    }

    public String getDelFlag() 
    {
        return delFlag;
    }

    @Override
    public String toString() {
        return new ToStringBuilder(this, ToStringStyle.MULTI_LINE_STYLE)
            .append("customerId", getCustomerId())
            .append("unitName", getUnitName())
            .append("unitAddress", getUnitAddress())
            .append("creditCode", getCreditCode())
            .append("bankInfo", getBankInfo())
            .append("bankAccount", getBankAccount())
            .append("contactUser", getContactUser())
            .append("contactNumber", getContactNumber())
            .append("email", getEmail())
            .append("weixin", getWeixin())
            .append("post", getPost())
            .append("status", getStatus())
            .append("delFlag", getDelFlag())
            .append("createBy", getCreateBy())
            .append("updateBy", getUpdateBy())
            .append("createTime", getCreateTime())
            .append("updateTime", getUpdateTime())
            .toString();
    }
}
